<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>第九十节课（自定义jQuery命令）</title>
    <link rel="stylesheet" href="../css/common.css">
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script>
        jQuery.fn.test = function () {
            console.log(this);
        };
        $(function () {
            $("input").click(function () {
                $(this).test();
            });
        })
    </script>
</head>
<body>
<input type="button" value="jQuery自定义命令测试"/>
</body>
</html>
